package com.huawei.translate.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by qbhuang on 10/04/2017.
 */
@Component
public class HttpProxyConfiguration {
    @Value("${http.proxy.host}")
    private String proxyHost;
    @Value("${http.proxy.user}")
    private String proxyUserName;
    @Value("${http.proxy.password}")
    private String proxyPassword;
    @Value("${http.proxy.port}")
    private int proxyPort;

    public String getProxyHost() {
        return proxyHost;
    }

    public void setProxyHost(String proxyHost) {
        this.proxyHost = proxyHost;
    }

    public String getProxyUserName() {
        return proxyUserName;
    }

    public void setProxyUserName(String proxyUserName) {
        this.proxyUserName = proxyUserName;
    }

    public String getProxyPassword() {
        return proxyPassword;
    }

    public void setProxyPassword(String proxyPassword) {
        this.proxyPassword = proxyPassword;
    }

    public int getProxyPort() {
        return proxyPort;
    }

    public void setProxyPort(int proxyPort) {
        this.proxyPort = proxyPort;
    }
}
